import axios from 'axios'

export const doSearch = (filter) => axios.get(`http://swapi.dev/api/people?search=${filter}`)